.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;

  .hero-section {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 165, 0, 0.7) 0%,
        rgba(255, 165, 0, 0.9) 100%
      ),
      url('/assets/images/cover001.avif');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    color: white;
    position: relative;

    .hero-content {
      position: relative;
      z-index: 2;

      h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
      }

      .subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        margin: 0 auto 30px;
      }

      .cta-button {
        background-color: #ff6b35;
        border-color: #ff6b35;
        font-size: 1.1rem;
        padding: 15px 30px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;

        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
          background-color: #e55a2b;
          border-color: #e55a2b;
        }
      }
    }
  }

  .features-section {
    margin-bottom: 10px;

    .feature-card {
      text-align: center;
      padding: 10px 20px 30px 20px;
      margin-bottom: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      overflow: hidden;
      height: 200px; // 固定高度
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background-repeat: no-repeat;
      background-position: 80% bottom;
      background-size: auto 80%;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      }

      .feature-icon {
        color: #409eff;
      }

      h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: #333;
        flex-grow: 0;
      }

      p {
        color: #666;
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
      }
    }

    .course-card {
      background-color: #fff3e0;
      background-image: url('/assets/images/silhouette-danse-15.svg');
    }

    .listening-card {
      background-color: #e3f2fd;
      background-image: url('/assets/images/silhouette-danse-04.svg');
    }

    .vocabulary-card {
      background-color: #f3e5f5;
      background-image: url('/assets/images/silhouette-danse-05.svg');
    }
    
    .phonics-card {
      background-color: #fff8e1;
      background-image: url('/assets/images/silhouette-danse-07.svg');
    }
    
    .phonetic-card {
      background-color: #f1f8e9;
      background-image: url('/assets/images/silhouette-danse-10.svg');
    }

    .grammar-card {
      background-color: #e8f5e9;
      background-image: url('/assets/images/silhouette-danse-06.svg');
    }

    .statistics-card {
      background-color: #d5f4f8;
      background-image: url('/assets/images/silhouette-danse-12.svg');
    }
  }

  .cta-section {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;

    .cta-content {
      max-width: 600px;
      margin: 0 auto;

      h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #333;
      }

      p {
        font-size: 1.1rem;
        color: #666;
        margin-bottom: 30px;
      }
    }
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 10px;

    .hero-section {
      padding: 60px 15px;

      .hero-content {
        h1 {
          font-size: 1.8rem;
        }

        .subtitle {
          display: none;
        }
      }
    }

    .features-section {
      .feature-card {
        padding: 20px 15px;
        height: auto; // 在小屏幕上不固定高度
      }
    }

    .cta-section {
      padding: 40px 15px;

      .cta-content {
        h2 {
          font-size: 1.5rem;
        }

        p {
          font-size: 1rem;
        }
      }
    }
  }
}